<div id="dt_example">
    <div id="container">
        <div id="demo"
             <div style="font-size: 15px;font-style: oblique;font-weight: bold;margin-bottom: 10px;">Users Table</div>
            <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Mobile</th>
                        <th>E-mail</th>
                        <th>Password</th>
                        <th>Edit</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                    foreach($users as $user){
                    echo"<tr>";
                        echo "<td>{$user->firstName} {$user->lastName}</td>";
                        echo "<td>{$user->mobile}</td>";
                        echo "<td>{$user->email}</td>";
                        echo "<td>{$user->password}</td>";
                        echo "<td><a onclick='load_link(\"index.php?page=user&action=edit&userId={$user->id}\", load_validation)'>Edit</a></td>";
                        echo"</tr>";
                    }
                    ?>
                </tbody>
            </table>
        </div>
    </div>
</div>